package main

import "fmt"

func main() {
	// 5 is elements count, 10 is memory size
	mySlice := make([]int, 5, 10)
	fmt.Println("len(mySlice) : ", len(mySlice))
	fmt.Println("cap(mySlice) : ", cap(mySlice))

	mySlice = append(mySlice, 1, 2, 3)
	fmt.Println("len(mySlice) : ", len(mySlice))
	fmt.Println("cap(mySlice) : ", cap(mySlice))
}
